import type { SVGProps } from 'constants/icons/types'

const CAD_ICON = (props: SVGProps) => (
  <svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
    <g clipPath="url(#clip0_1942_61881)">
      <path d="M7.70361 -6.10352e-05H42.1198V48.6367H7.70361V-6.10352e-05Z" fill="white" />
      <path
        d="M-9.49951 -6.10352e-05H7.70384V48.6367H-9.49951V-6.10352e-05ZM42.1201 -6.10352e-05H59.3234V48.6367H42.1201V-6.10352e-05ZM12.8525 23.5014L11.5226 23.9573L17.7352 29.4195C18.2101 30.8254 17.5737 31.2339 17.1652 31.9748L23.9098 31.1199L23.7388 37.9119L25.1447 37.8644L24.8312 31.1294L31.5947 31.9273C31.1768 31.0439 30.8063 30.5784 31.1863 29.1725L37.3989 23.9953L36.3159 23.6059C35.423 22.9124 36.6959 20.3001 36.8859 18.6472C36.8859 18.6472 33.2666 19.8916 33.0292 19.2362L32.0887 17.4788L28.8019 21.0885C28.441 21.1835 28.289 21.0315 28.2035 20.7276L29.7234 13.1566L27.3105 14.515C27.111 14.6005 26.9116 14.515 26.7786 14.287L24.4512 9.6323L22.0574 14.4675C21.8769 14.6385 21.6964 14.6575 21.5444 14.5435L19.2456 13.2516L20.623 20.7751C20.5185 21.06 20.2525 21.155 19.9485 20.9935L16.7852 17.4028C16.3768 18.0677 16.0918 19.1507 15.5503 19.3976C15.0089 19.6161 13.1755 18.9322 11.9501 18.6662C12.368 20.1766 13.6789 22.6844 12.8525 23.5109V23.5014Z"
        fill="#D52B1E"
      />
    </g>
    <defs>
      <clipPath id="clip0_1942_61881">
        <path
          d="M0 24.3184C0 10.8877 10.8877 0 24.3184 0C37.749 0 48.6368 10.8877 48.6368 24.3184C48.6368 37.7491 37.749 48.6368 24.3184 48.6368C10.8877 48.6368 0 37.749 0 24.3184Z"
          fill="white"
        />
      </clipPath>
    </defs>
  </svg>
)

export default CAD_ICON
